package com.andy.buyu.server.action;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

import com.andy.buyu.server.game.GameUser;
import com.andy.buyu.server.game.Room;
import com.andy.buyu.server.socket.GmAction;
import com.andy.buyu.server.socket.MySocketSession;
import com.andy.buyu.server.socket.SendUtil;
import com.andy.buyu.server.socket.codec.DataWrap;

/**
 * 房间大奖
 * @author cuiwm
 *
 */
@Component(GmAction.ACTION_PREFIX+GmAction.ACTION_209)
public class Action209 implements IReqAction{

	private static Logger logger = LoggerFactory.getLogger(Action209.class);
	
	@Override
	public void doAction(MySocketSession session, DataWrap data) {
		GameUser user = session.getUser();
		Room room = user.getRoom();
		
		SendUtil.send209(session,room);
		
	}


	
	
	
}
